﻿using BackData;
using MediatR;
using RBAC.API.DTOs;

namespace RBAC.API.Command.Role
{
    public class RoleGetCommand:IRequest<ApiPaging<RoleDTO>>
    {
        /// <summary>
        /// 页数
        /// </summary>
        public int pageindex { get; set; } = 1;
        /// <summary>
        /// 行数
        /// </summary>
        public int pagesize { get; set; } = 5;
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleName { get; set; }
    }
}
